package name.cyh.model.po;

import java.sql.Timestamp;

/**
 * @author 18433
 */
public class CouponUsageRecord {
    private int recordId;
    private int couponId;
    private int customerId;
    private int orderId;
    private Timestamp usageDate;

    public CouponUsageRecord() {
    }

    public CouponUsageRecord(int recordId, int couponId, int customerId, int orderId, Timestamp usageDate) {
        this.recordId = recordId;
        this.couponId = couponId;
        this.customerId = customerId;
        this.orderId = orderId;
        this.usageDate = usageDate;
    }

    public int getRecordId() {
        return recordId;
    }

    public void setRecordId(int recordId) {
        this.recordId = recordId;
    }

    public int getCouponId() {
        return couponId;
    }

    public void setCouponId(int couponId) {
        this.couponId = couponId;
    }

    public int getCustomerId() {
        return customerId;
    }

    public void setCustomerId(int customerId) {
        this.customerId = customerId;
    }

    public int getOrderId() {
        return orderId;
    }

    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }

    public Timestamp getUsageDate() {
        return usageDate;
    }

    public void setUsageDate(Timestamp usageDate) {
        this.usageDate = usageDate;
    }

    @Override
    public String toString() {
        return "CouponUsageRecord{" +
                "recordId=" + recordId +
                ", couponId=" + couponId +
                ", customerId=" + customerId +
                ", orderId=" + orderId +
                ", usageDate=" + usageDate +
                '}';
    }
}
